package com.springboot.cloud.demos.feign.service;

import com.springboot.cloud.common.core.entity.vo.Result;
import com.springboot.cloud.common.core.exception.SystemErrorType;
import com.springboot.cloud.demos.entity.form.FollowForm;
import com.springboot.cloud.demos.entity.param.FollowQueryParam;
import com.springboot.cloud.demos.entity.po.Follow;
import org.springframework.stereotype.Component;

@Component
public class FollowServiceFallback implements FollowService {

    @Override
    public Result save(FollowForm followForm) {
        return Result.fail(SystemErrorType.SYSTEM_BUSY);
    }

    @Override
    public Result update(FollowForm followForm) {
        return Result.fail(SystemErrorType.SYSTEM_BUSY);
    }

    @Override
    public Result getFollow(String userId, String followUserId) {
        return Result.fail(SystemErrorType.SYSTEM_BUSY);
    }

    @Override
    public Result deleteByMap(FollowQueryParam followQueryParam) {
        return Result.fail(SystemErrorType.SYSTEM_BUSY);
    }
}
